package POJO;

import org.springframework.stereotype.Repository;

@Repository
public class Branch {

	private int id;
	private String branchName;
	private String messageTemplate;
	private String addr;
	
	public int getId() {
		return id;
	}
	public String getBranchName() {
		return branchName;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}
	
	public String getMessageTemplate() {
		return messageTemplate;
	}
	public void setMessageTemplate(String messageTemplate) {
		this.messageTemplate = messageTemplate;
	}
	
	
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public void print(){
		System.out.println("--------branch--------");
		System.out.println("branch id: "+id+" branch name: "+branchName);
		System.out.println("messageTemplate: "+this.messageTemplate);
	}

	
	
}
